// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import 'styles/iconfont.css'// 字体图标样式
import 'styles/reset.css'// 样式重置
import './assets/styles/border.css'// 移动端1像素边框问题
import fastclick from 'fastclick'
// npm install fastclick --save //第三方依赖包安装到当前项目依赖中 安装后再package.json dependencies中
// fastclick 移动端300毫秒点击延迟，这是为了检查用户是否在做双击

import VueAwesomeSwiper from 'vue-awesome-swiper'

import store from './store'
import 'swiper/dist/css/swiper.css'
Vue.use(VueAwesomeSwiper)
Vue.config.productionTip = false
fastclick.attach(document.body)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
